Point[] and Tri not "could not be found"

Posted by Craig Dannehl on Game Development See other posts from Game Development or by Craig Dannehl
Published on 2012-11-27T06:04:34Z Indexed on 2012/11/27 11:24 UTC
Read the original article Hit count: 287

Filed under:
|
|
|
|

Hi I'm trying to learn how to load a .obj file using OpenTK in windows Forms. I have seen a lot of examples out there, but I do see almost everyone uses List, and Point[]. Code example show these highlighted like there IDE know what these are; for example

List<Tri> tris = new List<Tri>();  

but mine just returns "The type or namespace name 'Tri' could not be found" is there an include I need to add or a using I am missing. Currently have this

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Drawing;
using OpenTK;
using OpenTK.Graphics;
using OpenTK.Graphics.OpenGL;

© Game Development or respective owner

Related posts about c#

Related posts about opengl